/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package canvaswork;

import java.util.ArrayList;

/**
 *
 * @author jonatanhilden
 */
class Menu {

    private Main main;
    int xpos, ypos;
    int width, height;
    String text;
    ArrayList buttons;

    Menu(Main main, int x, int y, int w, int h) {
        this.main = main;

        xpos = x;
        ypos = y;
        width = w;
        height = h;
        buttons = new ArrayList();

    }

    void draw() {
        xpos = (main.mouseX);
        ypos = (main.mouseY);
        main.text("button", xpos, ypos+height);
        main.rect(xpos, ypos, width, height);

    }
    void addButton(String txt, int returnVal){
    buttons.add(txt);
    }

}

